package com.fwj.interfaceexample;

import java.io.IOException;

/**
 * @author stone.feng
 * @since 2019-02-27
 */
public class Son implements Father {

    @Override
    public void add() {
        System.out.println(A);
        System.out.println(B);

        try {
            System.out.println(C);
        } catch (Exception e) {
            throw new NullPointerException("");
        }


    }

    public static void main(String[] args) {
        Son son = new Son();
        son.add();
    }

}